Learn R Programming

briskaR (version 0.1.2)

[,Individuals: Get an individual information

Description

Get an Individual information

x[i] get individual i values from Individuals x.

Get an Individual information at a specified time

x[i,j] get individual i at time j values from Individuals x.

Usage

# S4 method for Individuals,numeric,missing,ANY
[(x, i)

# S4 method for Individuals,numeric,numeric,ANY [(x, i, j)

Arguments

x

An Individuals object

i

individual index

j

time of information

Value

a data.frame with all Individuals slot(attributes) for an individual

a data.frame with all Individuals slot (attributes) for an individual at a specified time.

Examples

Run this code
# NOT RUN {
data(maize_65)
# get individual 99 informations
str(maize.individuals[99])
data(maize_65)
#get individual 99 informations at time 30
maize.individuals[99,30]
# }

Run the code above in your browser using DataLab